Maximal functional capacity by cardiopulmonary exercise testing